<html>
	<head>
		<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
		<script type="text/javascript" src="libs/jquery-1.11.0.js"></script>
		<script type="text/javascript" src="pub/JSCommonUtil.js"></script>
		<title>常规页面联动</title>
	</head>
	<body>
	<div id='father1'></div>
		<script type="text/javascript">
			
var data ={
    "cascade":3,
    "options": [{
    	"name":"32144",
        "options": [{
            "name": "sadf",
            "options": [{
                "name": "asdfasdf",
                "options": [],
                "key": "00d8b9a0-1e14-11e4-8315-8b3299c4e72d",
                "state": "2"
            }],
            "key": "00d89290-1e14-11e4-8315-8b3299c4e72d",
            "state": "2"
        }],
        "key": "00d7f650-1e14-11e4-8315-8b3299c4e72d",
        "state": "2"
    }, {
        "name": "asdfasdf",
        "options": [{
            "name": "sadfasdf",
            "options": [{
                "name": "asdfsdf",
                "options": [],
                "key": "00d8e0b1-1e14-11e4-8315-8b3299c4e72d",
                "state": "2"
            }],
            "key": "00d8e0b0-1e14-11e4-8315-8b3299c4e72d",
            "state": "2"
        }, {
            "name": "sadfasf",
            "options": [],
            "key": "00d8e0b2-1e14-11e4-8315-8b3299c4e72d",
            "state": "2"
        }],
        "key": "00d8b9a1-1e14-11e4-8315-8b3299c4e72d",
        "state": "2"
    }]
}
$(function(){
	var helper=data._={},
	newObj = {name:'',state:'2',options:[ ]},
	temp=data.options;
	for(var i=1;i <= data.cascade;i++){
		if(!temp[0])
			temp.push(jc.mix(true,{},newObj))
		helper["d"+i]=temp 
		temp=temp[0].options	
	}

	jc.render(data,"multiListen",$('#father1'),function(){
		$('li').live('click',function(){
			
		})
	})
})


		</script>
	</body>
</html>